import request from '@/utils/request'

export function getUserPage(params) {
  return request({
    url: '/v1/user/page',
    method: 'get',
    params
  })
}

export function getCouponUserList(params) {
  return request({
    url: '/backend/v1/smsCouponUser/page',
    method: 'get',
    params
  })
}

export function useCouponUser(params) {
  return request({
    url: '/backend/v1/smsCouponUser/use',
    method: 'put',
    params
  })
}
